package com.itheima;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

@SpringBootApplication
public class Springboot04Application {

	public static void main(String[] args) {

		ConfigurableApplicationContext run = SpringApplication.run(Springboot04Application.class, args);

		Object user = run.getBean("user");
		System.out.println(user);
	}

}
